@charset "utf-8";

@function px($px){
    @return (px/2);
}
$fontsize:40;
@function r($px){
    @return $px/$fontsize * 1rem;
}

.web{
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
    header{
        width: 100%;
        height: 50px;
        position: absolute;
        top: 0;
        background: #f7f7f7;
        .head1{
            float: left;
            height: 50px;
            width: r(40);
            margin-left: r(25);
            i{
                font-size: r(40);
                line-height: 50px;
                color: #8b8d8f;
            }
        }
        .head2{
            float: right;
            width: r(51);
            height: r(51);
            margin-right: r(30);
            margin-top: r(30);
            i{
                font-size: r(60);
                line-height: 20px;
                color: #8b8d8f;
            }
        }
        .head3{
            width: r(400);
            height: 35px;
            margin: 0 auto;
            border: 1px solid #D62D31;
            margin-top: 6px;
            border-radius: 8px;
            ul{
                a{
                    
                    li{
                        font-size: r(35);
                        width: 50%;
                        height: 100%;
                        float: left;
                        line-height: 35px;
                        text-align: center;
                        color: #D62D31;
                    }
                }
                a li:hover{
                    background: #D62D31;
                    border-radius: 5px;
                    color: #FFFFFF;
                }
            }
        }
    }

}